Skip to content

refactor: use common answers file loader#1975

Merged
sisp merged 1 commit intocopier-org:masterfrom
sisp:refactor/use-common-answersfile-loader
Mar 5, 2025
Merged

refactor: use common answers file loader#1975
sisp merged 1 commit intocopier-org:masterfrom
sisp:refactor/use-common-answersfile-loader

Conversation

@sisp
Copy link
Member

@sisp sisp commented Feb 19, 2025

I've refactored answers file loading to use the common loader function copier.user_data.load_answersfile_data(). This shall ensure consistent loading behavior for the answers file and external data files.

Follow-up of #1970 and #1973.

@codecov
Copy link

codecov bot commented Feb 19, 2025

Codecov Report

Attention: Patch coverage is 75.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 97.94%. Comparing base (04fe8b9) to head (636a0db).
Report is 122 commits behind head on master.

Files with missing lines Patch % Lines
copier/user_data.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1975   +/-   ##
=======================================
  Coverage   97.94%   97.94%           
=======================================
  Files          53       53           
  Lines        5682     5683    +1     
=======================================
+ Hits         5565     5566    +1     
  Misses        117      117           
Flag Coverage Δ
unittests 97.94% <75.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sisp sisp force-pushed the refactor/use-common-answersfile-loader branch from 08db834 to 636a0db Compare March 5, 2025 17:21
@sisp sisp merged commit 10b1bde into copier-org:master Mar 5, 2025
21 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants